//
//  FansLogic.h
//  UniversalApp
//
//  Created by 志刚杨 on 2018/3/1.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FansModel.h"

typedef NS_ENUM(NSInteger,CYFansType) {
    CYFansTypeFans,//粉丝
    CYFansTypeAttr,//关注
};

@protocol FansLogicDelegate <NSObject>
@optional
/**
 数据加载完成
 */
-(void)requestDataCompleted;
@end

@interface FansLogic : NSObject
@property (nonatomic,strong) NSMutableArray * dataArray;//数据源
@property (nonatomic,assign) NSInteger  page;//页码
@property(nonatomic,weak)id<FansLogicDelegate> delegagte;
@property(nonatomic, assign) CYFansType type;

/**
 拉取数据
 */
-(void)loadData;

@end

